﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="CustServerDetail.aspx.cs"
    Inherits="Module_CustServerManger_CustServerDetail" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <ext:PageManager ID="PageManager1" runat="server" AutoSizePanelID="Panel1" />
    <ext:Panel ID="Panel1" runat="server" BodyPadding="0px" EnableBackgroundColor="true"
        ShowBorder="false" ShowHeader="false" Title="Panel" Layout="Row">
        <Toolbars>
            <ext:Toolbar ID="Toolbar1" runat="server">
                <Items>
                    <ext:Button ID="BtnSave" runat="server" Text="保存" OnClick="BtnSave_Click" >
                    </ext:Button>
                    <ext:Button ID="BtnCancel" runat="server" Text="取消">
                    </ext:Button>
                </Items>
            </ext:Toolbar>
        </Toolbars>
        <Items>
            <ext:Panel ID="Panel2" runat="server" BodyPadding="5px" EnableBackgroundColor="true"
                ShowBorder="false" ShowHeader="false" Title="Panel" Layout="Fit" RowHeight="43%">
                <Items>
                    <ext:Form ID="Form2" runat="server" BodyPadding="0px" EnableBackgroundColor="true"
                        ShowBorder="false" ShowHeader="false" Title="Form">
                        <Rows>
                            <ext:FormRow ID="FormRow1" runat="server">
                                <Items>
                                    <ext:TextBox ID="CustName" runat="server" Label="客户名称" Text="">
                                    </ext:TextBox>
                                    <ext:TextBox ID="CompanyName" runat="server" Label="客户公司名称" Text="">
                                    </ext:TextBox>
                                </Items>
                            </ext:FormRow>
                            <ext:FormRow ID="FormRow2" runat="server">
                                <Items>
                                    <ext:TextBox ID="TelPhone" runat="server" Label="联系电话" Text="">
                                    </ext:TextBox>
                                    <ext:TextBox ID="Industry" runat="server" Label="客户行业" Text="">
                                    </ext:TextBox>
                                </Items>
                            </ext:FormRow>
                            <ext:FormRow ID="FormRow4" runat="server">
                                <Items>
                                    <ext:TextBox ID="CustAddress" runat="server" Label="客户地址" Text="">
                                    </ext:TextBox>
                                     <ext:NumberBox ID="PayCount" runat="server" Label="付款金额">
                                    </ext:NumberBox>
                                </Items>
                            </ext:FormRow>
                            <ext:FormRow>
                                <Items>
                                    <ext:TextBox ID="No" runat="server" Label="No" Text="">
                                    </ext:TextBox>
                                    <ext:TextBox ID="OrdersCode" runat="server" Label="下单表编号" Text="">
                                    </ext:TextBox>
                                </Items>
                            </ext:FormRow>
                            <ext:FormRow>
                                <Items>
                                    <ext:TextBox ID="ID" runat="server" Label="ID号码" Text="">
                                    </ext:TextBox>
                                    <ext:TextBox ID="Pwd" runat="server" Label="密码" Text="">
                                    </ext:TextBox>
                                </Items>
                            </ext:FormRow>
                            <ext:FormRow>
                                <Items>
                                    <ext:TextBox ID="QQ" runat="server" Label="QQ号码" Text="">
                                    </ext:TextBox>
                                    <ext:TextBox ID="mail" runat="server" Label="邮箱" Text="">
                                    </ext:TextBox>
                                </Items>
                            </ext:FormRow>
                            <ext:FormRow>
                                <Items>
                                    <ext:TextBox ID="Website" runat="server" Label="网址" Text="">
                                    </ext:TextBox>
                                    <ext:DatePicker ID="ClearTime" runat="server" Label="开通时间">
                                    </ext:DatePicker>
                                </Items>
                            </ext:FormRow>
                            <ext:FormRow>
                                <Items>
                                    <ext:TriggerBox ID="BusinessStaff" runat="server" Label="业务人员" TriggerIcon="Search">
                                    </ext:TriggerBox>
                                    <ext:TextBox ID="TelPhoneBusiness" runat="server" Label="业务联系电话" Text="">
                                    </ext:TextBox>
                                </Items>
                            </ext:FormRow>
                            <ext:FormRow>
                                <Items>
                                    <ext:TriggerBox ID="ServerStaff" runat="server" Label="客服人员" TriggerIcon="Search">
                                    </ext:TriggerBox>
                                    <ext:TextBox ID="TelPhoneServer" runat="server" Label="客服人员电话" Text="">
                                    </ext:TextBox>
                                </Items>
                            </ext:FormRow>
                             <ext:FormRow>
                                <Items>
                                    <ext:TextBox ID="BusinessStaffID" runat="server" Label="BusinessStaffID" Text="" Hidden="true">
                                    </ext:TextBox>
                                    <ext:TextBox ID="ServerStaffID" runat="server" Label="ServerStaffID" Text="" Hidden="true">
                                    </ext:TextBox>
                                    <ext:TextBox ID="CustID" runat="server" Label="CustID" Text="" Hidden="true">
                                    </ext:TextBox>
                                </Items>
                            </ext:FormRow>
                        </Rows>
                    </ext:Form>
                </Items>
            </ext:Panel>
            <ext:Panel ID="Panel3" runat="server" BodyPadding="5px" EnableBackgroundColor="true"
                ShowBorder="false" ShowHeader="true" Title="服务情况" RowHeight="57%" Layout="Fit">
                <Toolbars>
                    <ext:Toolbar ID="Toolbar2" runat="server">
                        <Items>
                            <ext:Button ID="Button3" runat="server" Text="添加服务信息" OnClick="Button3_Click">
                            </ext:Button>
                            <ext:Button ID="Button4" runat="server" Text="删除服务信息" OnClick="Button4_Click" >
                            </ext:Button>
                        </Items>
                    </ext:Toolbar>
                </Toolbars>
                <Items>
                     <ext:Grid ID="Grid1" runat="server" EnableCheckBoxSelect="true" EnableRowNumber="true"
                        ShowBorder="false" AllowPaging="true" ShowHeader="false" Title="Grid" 
                        DataKeyNames="CustServerID" OnRowDataBound="Grid1_RowDataBound">
                        <Columns>
                        
                            <ext:TemplateField >
                                    <ItemTemplate >
                                        <asp:LinkButton ID="UpdateCustServer" runat="server">修改服务信息</asp:LinkButton>
                                    </ItemTemplate>
                            </ext:TemplateField>
                            <ext:BoundField HeaderText="服务时间"  DataField="ServerTime"/>
                            <ext:BoundField HeaderText="服务详细内容" DataField="ServerDetailed"/>
                            <ext:BoundField HeaderText="客户反馈" DataField="Feedback"/>
                            <ext:BoundField HeaderText="下次跟进时间" DataField="FollowTime"/>
                            <ext:BoundField HeaderText="服务报表发送时间" DataField="ReportSendTime"/>
                            <ext:BoundField HeaderText="其它备注" DataField="Remark"/>
                        </Columns>
                    </ext:Grid>
                </Items>
            </ext:Panel>
        </Items>
    </ext:Panel>
    <ext:Window ID="Window2" runat="server" Height="600px" IsModal="true" Popup="false"
        EnableIFrame="true" Title="Window" Width="300px">
    </ext:Window>
    <ext:Window ID="Window1" runat="server" Height="500px" IsModal="true" Popup="false"
        EnableIFrame="true" Title="Window" Width="700px">
    </ext:Window>
     <ext:Window ID="Window3" runat="server" Height="450px" IsModal="true" Popup="false" EnableIFrame="true"  Title="Window" Width="700px">
    </ext:Window>
    </form>
</body>
</html>
